﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

#nullable disable

namespace lso_2u_Web应用开发.Models.Database
{
    [Table("Supplier")]
    public partial class Supplier
    {
        [Key]
        [Column("id")]
        public int Id { get; set; }
        [Required]
        [Column("address")]
        [StringLength(256)]
        public string Address { get; set; }
        [Required]
        [Column("charge_name")]
        [StringLength(64)]
        public string ChargeName { get; set; }
        [Required]
        [Column("charge_phone_number")]
        [StringLength(32)]
        public string ChargePhoneNumber { get; set; }
        [Column("FK_bind_user")]
        public int? FkBindUser { get; set; }
        [Column("bind_code")]
        [StringLength(128)]
        public string BindCode { get; set; }
    }
}
